Mollie\WooCommerce\Payment\MollieOrderService B

Total Complexity 87
Dependencies 8
Dependents 4
Total lines 575
Lines of code 362
Logical lines of code 239
Comment lines 178
Methods 25
Properties 7

Methods 25

Method Rating Maintainability Complexity Lines of code
onWebhookAction()
B
34 21 84
processChargebacks()
B
36 17 77
updateOrderStatus()
A
54 8 21
orderNeedsPayment()
S
51 7 26
processRefunds()
S
50 4 27
findRefundIdsByLinks()
S
60 3 12
notifyProcessedRefunds()
S
60 2 13
calculateRefundByLine()
S
67 2 8
processUpdateStateRefund()
S
72 2 5
getProcessedRefundIds()
S
64 2 9
getPaymentMethodTitle()
S
69 2 7
findRefundIds()
S
71 2 6
paymentTestModeNote()
S
71 2 5
isPartialRefund()
S
69 2 6
renderNote()
S
63 1 11
updateStateRefund()
S
69 1 6
__construct()
S
67 1 8
setBillingAddressAfterPayment()
S
69 1 5
setGateway()
S
81 1 3
findRefundIdsByLine()
S
74 1 5
hasLineRefund()
S
80 1 3
isOrderPaidByOtherGateway()
S
79 1 3
isOrderPaidAndProcessed()
S
79 1 3
handlePaidOrderWebhook()
S
68 1 6
isOrderButtonPayment()
S
79 1 3